<script>
    $('#block-main').addClass("none");
	$(function() {				
	    $( "#tabs" ).tabs();	
	});
</script>

<!-- JQuery UI -->
	<script type="text/javascript" language="javascript" src="<?php echo $this->baseurl ?>/templates/laptop3a/js/jquery-ui-1.10.2.custom.min.js"></script>
	

<div id="products">
					<div id="info">						
						<?php if ($this->product->label_id){?>
						    <div class="product_label">
							<?php if ($this->product->_label_image){?>
							    <img src="<?php print $this->product->_label_image?>" alt="<?php print htmlspecialchars($this->product->_label_name)?>" />
							<?php }else{?>
							    <span class="label_name"><?php print $this->product->_label_name;?></span>
							<?php }?>
						    </div>
						<?php }?>
						<div class="image">
						    
						    <span id='list_product_image_middle'>
		<?php if(count($this->images)){?>
		    <a href='<?php print $this->image_product_path?>/<?php print $this->images[0]->image_full;?>' class = 'cloud-zoom' id='zoom1'
			rel="adjustX: 20, adjustY:-4">
			<img src="<?php print $this->image_product_path?>/<?php print $this->images[0]->image_thumb;?>" alt='' title="" />
		    </a>
		<?php }?>
         
				
	    </span>
						    <div class="product_thumbs">
		<?php foreach($this->images as $k=>$image){?>
			<a href='<?php print $this->image_product_path?>/<?php print $image->image_full;?>' class='cloud-zoom-gallery' title='<?php print htmlspecialchars($image->_title)?>'
				rel="useZoom: 'zoom1', smallImage: '<?php print $this->image_product_path?>/<?php print $image->image_thumb;?>' ">
			<img class="jshop_img_thumb" src="<?php print $this->image_product_path?>/<?php print $image->image_thumb;?>" alt = "<?php print htmlspecialchars($image->_title)?>"/></a>
		<?php }?>
	    </div>
						    
						    
							
							
						</div>
						<div class="details">
							<h3><?php print $this->product->name?></h3>
							<p><?php print $this->product->short_description?></p>
							
							<div class="price">
								<?php if ($this->product->product_old_price > 0){?>
                                                            <span class="old_price" style="padding-right: 5px;color: #555"><?php print formatprice($this->product->product_old_price)?></span>
                                                        <?php }?> <span> <?php print formatprice($this->product->product_price);?></span>
								<a class="buy" href="<?php echo JURI::base() ?>lien-he" target="_blank">Đặt mua</a>
							</div>
							<div id="social">
								<ul>
									<li>									    
									    <!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>

<a class="addthis_button_compact"></a>
<a class="addthis_counter addthis_bubble_style"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4fa39c2a6b168ca3"></script>
<!-- AddThis Button END -->
									</li>
								</ul>
							</div>
						</div>
					</div>
				</div>

<div id="tabs">
<ul>
<li><a href="#tabs-1">Chi tiết sản phẩm</a></li>
<li><a href="#tabs-2">Đánh giá</a></li>
<li><a href="#tabs-3">Sản phẩm liên quan</a></li>
</ul>
<div id="tabs-1">
<?php print $this->product->description; ?>
</div>
<div id="tabs-2">
<?php
    print $this->_tmp_product_html_before_review;
    include(dirname(__FILE__)."/review.php");
?>
</div>
<div id="tabs-3">
<?php
    print $this->_tmp_product_html_before_related;
    include(dirname(__FILE__)."/related.php");
?>
</div>
</div>

